X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=idl%2FMakefile;h=84860c93b00b9b300e20d46620cf796ecaa3545f;hp=f7d99f7ad8b37765961052542f09aff93ed1e72b;hb=059fffcaee65cf92b95bdbe91e5a156b89b2cf71;hpb=5917ec1de81d919ac670af18166a41238aa1d3f6 diff --git a/idl/Makefile b/idl/Makefile index f7d99f7..84860c9 100644 --- a/idl/Makefile +++ b/idl/Makefile @@ -1,6 +1,6 @@ -CFLAGS = -g +CFLAGS += -g -D$(shell uname | tr a-z A-Z) .PHONY: all -all: parser makeheaders +all: main makeheaders.c: curl -sSO http://www.hwaci.com/sw/mkhdr/makeheaders.c @@ -8,8 +8,8 @@ makeheaders.c: GENERATED_FILES += makeheaders makeheaders: makeheaders.c -GENERATED_FILES += parser -parser: main.c parser.c lexer.c +GENERATED_FILES += main +main: main.c parser.c lexer.c validator.c GENERATED_FILES += parser.h parser.h: parser.c makeheaders