diff options
| author | seyko <seyko2@gmail.com> | 2015-03-05 16:39:25 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-05 16:39:25 +0300 |
| commit | 4b92dbf9237c5712d2ab3a2ce3fab7904c85dad2 (patch) | |
| tree | 3855fbc4728041f21ae613cb35403d5e0079f471 /Makefile | |
| parent | 44c6e992bdba8888e88c596e283b2e77ba4a05b2 (diff) | |
| download | tinycc-4b92dbf9237c5712d2ab3a2ce3fab7904c85dad2.tar.gz tinycc-4b92dbf9237c5712d2ab3a2ce3fab7904c85dad2.tar.bz2 | |
Add a dependency for a PROGS and TCCLIBS to a Makefile
Simply assume this is all *.c and *.h files in a tcc top directory.
Now a tcc compiler is recompiled if any of this files is changed.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -158,6 +158,8 @@ endif all: $(PROGS) $(TCCLIBS) $(TCCDOCS) +$(PROGS) $(TCCLIBS): *.c *.h + # Host Tiny C Compiler tcc$(EXESUF): tcc.o $(LIBTCC) $(CC) -o $@ $^ $(LIBS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(LINK_LIBTCC) |
