X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=Makefile;h=e377f783f875e2268f254cd188541e1e99efcbde;hp=8fd11611cc1edb049a2d4073a2212da17fee2272;hb=1755555771130bc4dbeb6c88e66d9d6c1a64b900;hpb=0ce16148cb56c6c3491ea6042e45c9371591b168 diff --git a/Makefile b/Makefile index 8fd1161..e377f78 100644 --- a/Makefile +++ b/Makefile @@ -64,8 +64,7 @@ data: $(graphics) program: vor %.o: %.c - @echo compiling $@ from $< - @$(CC) $(cflags) -c -o $@ $< + $(CC) $(cflags) -c -o $@ $< $(my_objects): config.h @@ -90,8 +89,7 @@ sound.o: sound.h args.h common.h sprite.o: sprite.h common.h vor: $(objects) - @echo linking $@ from $^ - @$(CC) $^ $(ldflags) -o $@ + $(CC) $^ $(ldflags) -o $@ include gfx.mk @@ -112,15 +110,15 @@ data-clean: mkinstalldirs: if [ ! -d $(DESTDIR)$(pkgdatadir) ]; then mkdir $(DESTDIR)$(pkgdatadir); fi -rminstalldirs: +rminstalldirs: uninstall-data if [ -d $(DESTDIR)$(pkgdatadir) ]; then rmdir $(DESTDIR)$(pkgdatadir); fi install: all mkinstalldirs install-program install-data install-program: program - $(INSTALL_PROGRAM) ./vor $(DESTDIR)$(bindir) + $(INSTALL_PROGRAM) ./vor $(DESTDIR)$(bindir)/ -install-data: data +install-data: data mkinstalldirs $(INSTALL_DATA) ./data/*.png $(DESTDIR)$(pkgdatadir)/ $(INSTALL_DATA) ./data/*.wav $(DESTDIR)$(pkgdatadir)/ $(INSTALL_DATA) ./data/*.xm $(DESTDIR)$(pkgdatadir)/