pinosaur
/
surf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applied Nick's 96dpi patch, thanks
[surf.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
b183603
..
a9d4d1d
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,10
+3,10
@@
include config.mk
include config.mk
-SRC = surf.c
tabbed.c
+SRC = surf.c
OBJ = ${SRC:.c=.o}
OBJ = ${SRC:.c=.o}
-all: options surf
tabbed
+all: options surf
options:
@echo surf build options:
options:
@echo surf build options:
@@
-18,14
+18,16
@@
options:
@echo CC $<
@${CC} -c ${CFLAGS} $<
@echo CC $<
@${CC} -c ${CFLAGS} $<
-${OBJ}: config.mk
+${OBJ}: config.
h config.
mk
-surf: surf.o
+config.h:
+ @echo creating $@ from config.def.h
+ @cp config.def.h $@
+
+surf: ${OBJ}
@echo CC -o $@
@${CC} -o $@ surf.o ${LDFLAGS}
@echo CC -o $@
@${CC} -o $@ surf.o ${LDFLAGS}
-tabbed: tabbed.o
-
clean:
@echo cleaning
@rm -f surf ${OBJ} surf-${VERSION}.tar.gz
clean:
@echo cleaning
@rm -f surf ${OBJ} surf-${VERSION}.tar.gz
@@
-33,7
+35,8
@@
clean:
dist: clean
@echo creating dist tarball
@mkdir -p surf-${VERSION}
dist: clean
@echo creating dist tarball
@mkdir -p surf-${VERSION}
- @cp -R LICENSE Makefile README config.def.h config.mk \
+ @cp -R LICENSE Makefile config.mk config.def.h README \
+ surf-open.sh arg.h TODO.md surf.png \
surf.1 ${SRC} surf-${VERSION}
@tar -cf surf-${VERSION}.tar surf-${VERSION}
@gzip surf-${VERSION}.tar
surf.1 ${SRC} surf-${VERSION}
@tar -cf surf-${VERSION}.tar surf-${VERSION}
@gzip surf-${VERSION}.tar