Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (20 sloc) 0.489 kb
896060b @TheHippo first commit
authored
1
2 NEKOPATH=/usr/lib/neko/include/
3
fd55ce5 @TheHippo simplified makefile
authored
4 CC = gcc
a0e8395 @TheHippo compile optimized, fix some c warnings
authored
5 CFLAGS = -Wall -shared -I$(NEKOPATH) -fPIC -O3
fd55ce5 @TheHippo simplified makefile
authored
6 LDFLAGS = -lgd
896060b @TheHippo first commit
authored
7
fd55ce5 @TheHippo simplified makefile
authored
8 OUT = nGD.ndll
896060b @TheHippo first commit
authored
9
fd55ce5 @TheHippo simplified makefile
authored
10 OBJ = src/nGD.o src/nGDFile.o src/nGDDraw.o src/nGDCopy.o src/nGDText.o src/nGDAnim.o src/nGDImage.o
896060b @TheHippo first commit
authored
11
4039441 @TheHippo small restructure of makefile
authored
12 all: ndll
13
14 ndll: $(OBJ)
fd55ce5 @TheHippo simplified makefile
authored
15 $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o $(OUT)
4039441 @TheHippo small restructure of makefile
authored
16
fd55ce5 @TheHippo simplified makefile
authored
17 src/%.o: src/%.c
18 $(CC) $(CFLAGS) -c -o $@ $<
dfb9798 @TheHippo text & drawing api
authored
19
896060b @TheHippo first commit
authored
20 clean:
21 rm -f src/*.o
22
aeddc67 @TheHippo added option to get raw image data, eg. for sending an image directly…
authored
23 haxe: all
896060b @TheHippo first commit
authored
24 haxe build.hxml
25
aeddc67 @TheHippo added option to get raw image data, eg. for sending an image directly…
authored
26 run: haxe
896060b @TheHippo first commit
authored
27 neko test1.n
aeddc67 @TheHippo added option to get raw image data, eg. for sending an image directly…
authored
28
29 install: all
30 cp $(OUT) $(NEKOPATH)../
4039441 @TheHippo small restructure of makefile
authored
31
32 .PHONY: clean haxe run install
Something went wrong with that request. Please try again.