projects
/
eqemu
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit, eq circuit emulator
[eqemu]
/
libs
/
libimago
/
test
/
Makefile
1
obj = test.o
2
bin = test
3
4
CC = gcc
5
CFLAGS = -pedantic -Wall -g -I../src
6
LDFLAGS = $(lib)
7
8
ifeq ($(shell uname -s), Darwin)
9
lib = ../libimago.dylib
10
else
11
lib = ../libimago.so.2.0
12
endif
13
14
$(bin): $(obj) $(lib)
15
$(CC) -o $@ $(obj) $(LDFLAGS)
16
17
.PHONY: clean
18
clean:
19
rm -f $(obj) $(bin)