blob: 451076f6128ef843b9992f565880d16fd6c5bde3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--- makefile.orig Sat Mar 11 12:05:21 2000
+++ makefile Fri Mar 31 09:45:06 2000
@@ -5,6 +5,8 @@
DOC = $(NAME).ABOUT
DATA = 1.gif 2.gif 3.gif
DOC_OR_DATA = 1
+EBIN = ${PREFIX}/bin
+EROOT = ${PREFIX}/share/enlightenment
DATAPATH = ${EROOT}/epplet_data/$(NAME)
all: $(EPPLET)
@@ -13,10 +15,7 @@
@make -i -s pack
%.epplet: %.c
- @echo Compiling $@
- @gcc -Wall -O2 -I/usr/X11R6/include -o $@ $< -lepplet
- @strip $@;
- @if [ ! -z "`which sstrip`" ]; then sstrip $@; fi;
+ ${CC} ${CFLAGS} -I${PREFIX}/include -o $@ $< -L${PREFIX}/lib -lepplet
install: $(EPPLET)
@if [ -z "${EROOT}" -o -z "${EBIN}" ]; then\
@@ -52,7 +51,7 @@
@echo $(NAME) "uninstalled :("
clean:
- rm $(EPPLET) *~
+ rm $(EPPLET)
pack: $(EPPLET)
rm *~
|