X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=Makefile;h=a9d4d1d49e043665e123da7258cf0bd2f32704b2;hp=779262897d6ac0c6e554417ebafff08ef0437b18;hb=1abb2ebe7a90eea6e82415a07e0f2ea6e3475e5f;hpb=6848b92342058d083a2ba3717914738cbf1bb6d6 diff --git a/Makefile b/Makefile index 7792628..a9d4d1d 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,11 @@ options: @echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: config.mk +${OBJ}: config.h config.mk + +config.h: + @echo creating $@ from config.def.h + @cp config.def.h $@ surf: ${OBJ} @echo CC -o $@ @@ -31,7 +35,8 @@ clean: 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