diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Makefile b/Makefile index 073f0be..8990dd0 100644 --- a/Makefile +++ b/Makefile @@ -2,18 +2,16 @@ CFLAGS += -std=c99 -Wall -Wextra -Wpedantic include config.mk -BINS = dump freecell sol +BINS = dump -all: $(BINS) +all: ${BINS} -$(BINS): cards.o +${BINS}: cards.o .o: - $(CC) $(LDFLAGS) $< cards.o $(LDLIBS) -o $@ + ${CC} ${LDFLAGS} $< cards.o ${LDLIBS} -o $@ -cards.o dump.o freecell.o sol.o: cards.h - -freecell.o sol.o: asset.h layout.h stack.h +cards.o dump.o: cards.h clean: - rm -f $(BINS) *.o *.bmp + rm -f ${BINS} *.o *.bmp |