Skip to content

Commit

Permalink
simplify makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sandsmark committed Mar 1, 2016
1 parent 7f0c0b4 commit bdec404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
CFILES=$(wildcard *.c)
OBJECTS=$(patsubst %.c, %.o, $(CFILES))
OBJECTS=$(CFILES:.c=.o)
DEPS=$(CFILES:.c=.d)
EXECUTABLE=extractor

all: $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

DEPS=$(OBJECTS:.o=.d)
-include $(DEPS)

clean:
Expand Down

0 comments on commit bdec404

Please sign in to comment.