makefile for mingw #10; drawAlphabet #8

This commit is contained in:
2017-05-05 17:09:53 +02:00
parent c664c70a37
commit 1a24486ec3
4 changed files with 85 additions and 18 deletions

20
makefile_mingw Normal file
View File

@@ -0,0 +1,20 @@
#Infos: http://www.ijon.de/comp/tutorials/makefile.html
VERSION = 1.0
CC = gcc
CFLAGS = -Wall -Wextra -O3 -D_REENTRANT -DVERSION=\"$(VERSION)\"
#LDFLAGS = -lm -lpthread `gtk-config --cflags` `gtk-config --libs` -lgthread
LDFLAGS = -lpdcurses
OBJ = hangman.o prng.o
all: $(OBJ)
$(CC) $(CFLAGS) -o hangman $(OBJ) $(LDFLAGS)
%.o: %.c
$(CC) $(CFLAGS) -c $<
.PHONY: clean
clean:
rm -r *.o