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

github.com/ClusterM/retroarch-clover.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-02-18 07:37:41 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-02-18 07:37:41 +0300
commit3a3436e07499a059b78ef6cfb0ae17829e6b5220 (patch)
treeeb6f7c894352b904997091612b9b204d376fc241 /fbgrab-1.3/Makefile
parentbb2a394701f3a67b780e561be653f30913e6c1a1 (diff)
fbgrab source added
Diffstat (limited to 'fbgrab-1.3/Makefile')
-rw-r--r--fbgrab-1.3/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/fbgrab-1.3/Makefile b/fbgrab-1.3/Makefile
new file mode 100644
index 0000000..4b90ac3
--- /dev/null
+++ b/fbgrab-1.3/Makefile
@@ -0,0 +1,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
+LIBPNG = ../../libpng.arm
+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 *~ \#*\#