aboutsummaryrefslogtreecommitdiff
path: root/iniparser-4.1/example/Makefile
blob: cc6e54b4f93b540f63b61b7e90f63e6ece3039c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# iniparser tests Makefile
#

CC     	= i686-w64-mingw32-gcc
CFLAGS  += -g -I../src
LFLAGS  += -L.. -liniparser
AR	= i686-w64-mingw32-ar
ARFLAGS += rcv
RM      ?= rm -f


default: all

all: iniexample.exe parse.exe

iniexample.exe: iniexample.c
	$(CC) $(CFLAGS) -o iniexample.exe iniexample.c -I../src -L.. -liniparser

parse.exe: parse.c
	$(CC) $(CFLAGS) -o parse.exe parse.c -I../src -L.. -liniparser

clean veryclean:
	$(RM) iniexample.exe example.ini parse.exe