Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile « fbgrab-1.3 - github.com/ClusterM/retroarch-clover.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d81b4adcb260a0bc5697a20c58132583250cba87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
### 
### I think it's not worth to make such a small project
### modular. So this is a simple gnu Makefile...
###

NES_ROOT = /home/cluster/nesmini-root
LIBPNG = ../../libpng
ZLIB = ../../zlib

CFLAGS-NES += -L$(NES_ROOT)/lib -L$(NES_ROOT)/usr/lib -I$(LIBPNG) -I$(ZLIB) -Wno-unused-function -Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3,-sysroot=$(NES_ROOT),-rpath,-nostartfiles
CC-NES = arm-linux-gnueabihf-gcc

all: fbgrab

fbgrab: fbgrab.c
	$(CC-NES) -g -Wall $(CFLAGS-NES) $(LDFLAGS-NES) $< -lpng -lz -o fbgrab

clean:
	-$(RM) fbgrab *~ \#*\#