Makefile: clean *.o files

This commit is contained in:
Natanael Copa 2019-10-01 15:00:31 +01:00
parent f9707808ef
commit 610f1982ef

View File

@ -69,7 +69,7 @@ P=$(PACKAGE)-$(VERSION)
all: $(USR_BIN_FILES) functions.sh
clean:
@rm -f $(USR_BIN_FILES) functions.sh
@rm -f $(USR_BIN_FILES) *.o functions.sh
%.o: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS-$@) -o $@ -c $<