diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2012-10-22 11:11:42 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2012-11-06 15:20:53 +0100 |
| commit | a7f010ee8a9ab03859759ebb0b502860778630f7 (patch) | |
| tree | b1cdceb6e3524e289e0edda343d06018bf0c8ae0 /lib/Makefile | |
| parent | 5eb64357b1681652571831a11ad626c314408402 (diff) | |
| download | tinycc-a7f010ee8a9ab03859759ebb0b502860778630f7.tar.gz tinycc-a7f010ee8a9ab03859759ebb0b502860778630f7.tar.bz2 | |
Honour *FLAGS everywhere
Add CPPFLAGS, CFLAGS and LDFLAGS everywhere it's missing.
Diffstat (limited to 'lib/Makefile')
| -rw-r--r-- | lib/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile index d7d2c3f..6813052 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -85,11 +85,11 @@ endif $(DIR)/libtcc1.a ../libtcc1.a : $(OBJ) $(XAR) $(AR) rcs $@ $(OBJ) $(DIR)/%.o : %.c - $(XCC) -c $< -o $@ $(TGT) + $(XCC) -c $< -o $@ $(CPPFLAGS) $(TGT) $(CFLAGS) $(DIR)/%.o : %.S - $(XCC) -c $< -o $@ $(TGT) + $(XCC) -c $< -o $@ $(CPPFLAGS) $(TGT) $(CFLAGS) $(DIR)/%$(EXESUF) : $(TOP)/win32/tools/%.c - $(CC) -Os -s -w -o $@ $< $(TGT) + $(CC) -Os -s -w -o $@ $< $(CPPFLAGS) $(TGT) $(CFLAGS) $(LDFLAGS) $(OBJ) $(XAR) : $(DIR)/exists $(DIR)/exists : |
