projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
start validator
[m6w6/ext-psi]
/
idl
/
Makefile
diff --git
a/idl/Makefile
b/idl/Makefile
index f7d99f7ad8b37765961052542f09aff93ed1e72b..84860c93b00b9b300e20d46620cf796ecaa3545f 100644
(file)
--- a/
idl/Makefile
+++ b/
idl/Makefile
@@
-1,6
+1,6
@@
-CFLAGS
= -g
+CFLAGS
+= -g -D$(shell uname | tr a-z A-Z)
.PHONY: all
.PHONY: all
-all:
parser makeheaders
+all:
main
makeheaders.c:
curl -sSO http://www.hwaci.com/sw/mkhdr/makeheaders.c
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 += makeheaders
makeheaders: makeheaders.c
-GENERATED_FILES +=
parser
-
parser: main.c parser.c lexe
r.c
+GENERATED_FILES +=
main
+
main: main.c parser.c lexer.c validato
r.c
GENERATED_FILES += parser.h
parser.h: parser.c makeheaders
GENERATED_FILES += parser.h
parser.h: parser.c makeheaders