eqemu

view libs/libimago/test/Makefile @ 12:2656099aff12

added copyright notices and license
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 18 Jul 2014 07:04:21 +0300
parents
children
line source
1 obj = test.o
2 bin = test
4 CC = gcc
5 CFLAGS = -pedantic -Wall -g -I../src
6 LDFLAGS = $(lib)
8 ifeq ($(shell uname -s), Darwin)
9 lib = ../libimago.dylib
10 else
11 lib = ../libimago.so.2.0
12 endif
14 $(bin): $(obj) $(lib)
15 $(CC) -o $@ $(obj) $(LDFLAGS)
17 .PHONY: clean
18 clean:
19 rm -f $(obj) $(bin)