Created
October 18, 2018 04:25
-
-
Save val314159/e3281fb61d6dd5e5db094dc111f373e0 to your computer and use it in GitHub Desktop.
Let's get explicit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROG=hi | |
all: test | |
test: $(PROG) ; ./$(PROG) | |
clean: ; rm -fr *.{o,a,so} *~ $(PROG) | |
hi: hi.o | |
$(LD) $(LDFLAGS) $^ -o $@ | |
hi.o: hi.c | |
$(CC) $(CFLAGS) -c $^ -o $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment