diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-08-15 20:20:19 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-08-15 20:20:19 +0200 |
commit | bad1162b921d3c65390ce64c436fa82aaf9ad7c5 (patch) | |
tree | 25b65500d40924d5a1f7c063a8c3e3cc4a26de47 /Makefile | |
parent | 4ff2fa5f03154ecc60946c64fa094e4b26048fe7 (diff) | |
download | toolame-dab-bad1162b921d3c65390ce64c436fa82aaf9ad7c5.tar.gz toolame-dab-bad1162b921d3c65390ce64c436fa82aaf9ad7c5.tar.bz2 toolame-dab-bad1162b921d3c65390ce64c436fa82aaf9ad7c5.zip |
Add header dependency to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 40 |
1 files changed, 37 insertions, 3 deletions
@@ -1,6 +1,40 @@ CC = gcc +HEADERS = \ + absthr.h \ + ath.h \ + audio_read.h \ + availbits.h \ + bitstream.h \ + common.h \ + crc.h \ + critband.h \ + encode.h \ + encode_new.h \ + encoder.h \ + enwindow.h \ + fft.h \ + freqtable.h \ + ieeefloat.h \ + mem.h \ + musicin.h \ + options.h \ + portableio.h \ + psycho_0.h \ + psycho_1.h \ + psycho_1_priv.h \ + psycho_2.h \ + psycho_3.h \ + psycho_3priv.h \ + psycho_4.h \ + psycho_n1.h \ + subband.h \ + tables.h \ + toolame.h \ + xpad.h \ + zmqoutput.h + c_sources = \ common.c \ encode.c \ @@ -73,14 +107,14 @@ ifeq ($(UNAME),OS/2) LIBS = endif -%.o: %.c Makefile +%.o: %.c $(HEADERS) Makefile $(CC) $(CC_SWITCHES) -c $< -o $@ -$(PGM): $(OBJ) Makefile +$(PGM): $(OBJ) $(HEADERS) Makefile $(CC) $(PG) -o $(PGM) $(OBJ) $(LIBS) clean: - -rm $(OBJ) $(DEP) + -rm $(OBJ) $(DEP) $(PGM) megaclean: -rm $(OBJ) $(DEP) $(PGM) \#*\# *~ |