diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/Makefile b/src/Makefile index 9e3647e..02ed017 100644 --- a/src/Makefile +++ b/src/Makefile @@ -62,7 +62,7 @@ CWD := $(shell pwd) export MACOSX_DEPLOYMENT_TARGET = 10.3 # DEFAULT TARGET # Find a way to list all c files target -ALL = $((patsubst %.c,%.o,$(wildcard *.c))) +ALL = $(patsubst %.c,%.$(EXTENSION),$(wildcard *.c)) default: $(ALL) .SUFFIXES: .$(EXTENSION) .$(SHARED_LIB) @@ -145,14 +145,7 @@ CXXFLAGS = $(CFLAGS) rm -f -- $*.o mv $*.$(EXTENSION) $(OUTPUT) -### C files -#.c: -# $(CC) $(OPT_CFLAGS) $(CFLAGS) -o "$*.o" -c "$*.c" -# $(CC) $(LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(LIBS) -# chmod a-x "$*.$(EXTENSION)" -# $(STRIP) $*.$(EXTENSION) -# rm -f -- $*.o -# mv $*.$(EXTENSION) $(OUTPUT) + |