program: vor
%.o: %.c
- @echo compiling $@ from $<
- @$(CC) $(cflags) -c -o $@ $<
+ $(CC) $(cflags) -c -o $@ $<
$(my_objects): config.h
sprite.o: sprite.h common.h
vor: $(objects)
- @echo linking $@ from $^
- @$(CC) $^ $(ldflags) -o $@
+ $(CC) $^ $(ldflags) -o $@
include gfx.mk
install: all mkinstalldirs install-program install-data
install-program: program
- $(INSTALL_PROGRAM) ./vor $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) ./vor $(DESTDIR)$(bindir)/
install-data: data mkinstalldirs
$(INSTALL_DATA) ./data/*.png $(DESTDIR)$(pkgdatadir)/