From 3d1dd275da22de8a7047e89ef62c69d4b02e1b99 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 27 Mar 2019 22:57:12 -0400 Subject: Refactor Makefile --- Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 299616d..939549e 100644 --- a/Makefile +++ b/Makefile @@ -8,22 +8,17 @@ LDLIBS = -lSDL2 -include config.mk BINS = dump freecell sol -OBJS = cards.o dump.o freecell.o sol.o all: $(BINS) -dump: cards.o dump.o - $(CC) $(LDFLAGS) cards.o dump.o $(LDLIBS) -o dump +$(BINS): cards.o -freecell: cards.o freecell.o - $(CC) $(LDFLAGS) cards.o freecell.o $(LDLIBS) -o freecell +.o: + $(CC) $(LDFLAGS) $< cards.o $(LDLIBS) -o $@ -sol: cards.o sol.o - $(CC) $(LDFLAGS) cards.o sol.o $(LDLIBS) -o sol - -$(OBJS): cards.h +cards.o dump.o freecell.o sol.o: cards.h freecell.o sol.o: layout.h stack.h clean: - rm -f $(BINS) $(OBJS) + rm -f $(BINS) *.o *.bmp -- cgit 1.4.1 e='switch'/> IRC client
summary refs log tree commit diff
path: root/Makefile (unfollow)
Commit message (Expand)Author
2020-02-11Add note about setting PKG_CONFIG_PATHJune McEnroe
2020-02-11Rename query ID on nick changeJune McEnroe
2020-02-11Call completeClear when closing a windowJune McEnroe
2020-02-11Don't insert color codes for non-mentionsJune McEnroe
2020-02-11Take first two words in colorMentionsJune McEnroe
2020-02-11Use time_t for save signatureJune McEnroe
2020-02-11Set self.nick to * initiallyJune McEnroe
2020-02-11Define ColorCap instead of hardcoding 100June McEnroe
2020-02-11Move hash to top of chat.hJune McEnroe
2020-02-11Move base64 out of chat.hJune McEnroe
2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe
2020-02-11Fix whois idle unit calculationJune McEnroe
2020-02-11Cast towupper to wchar_tJune McEnroe
2020-02-11Cast set but unused variables to voidJune McEnroe
2020-02-11Declare strlcatJune McEnroe
2020-02-11Check if VDSUSP existsJune McEnroe
2020-02-11Fix completeReplace iterationJune McEnroe
2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe
2020-02-11Remove legacy codeJune McEnroe
2020-02-11Add INSTALLING section to READMEJune McEnroe