Created
June 21, 2016 12:21
-
-
Save noroutine/992407e6e237fc102a9d7069f35ebdd8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Sample makefile | |
SHELL=/bin/bash | |
CC=gcc | |
CFLAGS=-O2 | |
.PHONY: all | |
all: example0 | |
%: %.c | |
$(CC) $(CFLAGS) `pkg-config --cflags gtk+-3.0` -o $@ [email protected] `pkg-config --libs gtk+-3.0` | |
clean: | |
rm -f example0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment