diff options
| author | J08nY | 2017-04-05 12:52:19 +0200 |
|---|---|---|
| committer | J08nY | 2017-04-05 13:11:01 +0200 |
| commit | 9ad9770e8f16d654cfef2fffa2776a186f7c4b3b (patch) | |
| tree | edb7b0a885e3a84272b1abcdaddbd14eb5f396c4 /src | |
| parent | 2bcb800524eff712bf9c0789be90a5798e322b6d (diff) | |
| download | ecgen-9ad9770e8f16d654cfef2fffa2776a186f7c4b3b.tar.gz ecgen-9ad9770e8f16d654cfef2fffa2776a186f7c4b3b.tar.zst ecgen-9ad9770e8f16d654cfef2fffa2776a186f7c4b3b.zip | |
Clean up Makefiles
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index be6bdb9..40843c6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -23,12 +23,12 @@ ECGEN_OBJ = $(patsubst %.c,%.o, $(ECGEN_SRC)) ECONVERT_SRC = econvert.c $(wildcard */*.c) ECONVERT_OBJ = $(patsubst %.c,%.o, $(ECONVERT_SRC)) -SRC = $(ECGEN_SRC) $(ECONVERT_SRC) +SRC = $(wildcard *.c) $(wildcard */*.c) HDR = $(wildcard */*.h) #### -all: ecgen +all: ecgen econvert ecgen: ecgen.o $(ECGEN_OBJ) $(CC) $(CFLAGS) $(INCLUDES) -o $@ $^ $(LDFLAGS) $(LIBS) @@ -44,6 +44,8 @@ econvert: econvert.o $(ECONVERT_OBJ) #### clean-all: clean + rm ../ecgen + rm ../econvert clean: find . -type f -name '*.o' -exec rm {} + |
