Skip to content

Commit

Permalink
Merge pull request #22 from polluks/patch-1
Browse files Browse the repository at this point in the history
Use built-in macro
  • Loading branch information
capehill authored Apr 26, 2021
2 parents ee66bfe + dd4d015 commit be0588b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
ifneq ($(shell uname), AmigaOS)
CC = ppc-amigaos-gcc
DELETE = rm -f
STRIP = ppc-amigaos-strip
AMIGADATE = $(shell date +"%-d.%-m.%Y")
else
CC = gcc
DELETE = delete
STRIP = strip
AMIGADATE = $(shell date LFORMAT "%-d.%-m.%Y")
endif
Expand All @@ -27,7 +25,7 @@ $(NAME): $(OBJS) makefile
$(CC) -o $@ $(OBJS) -lauto

clean:
$(DELETE) $(OBJS)
$(RM) $(OBJS)

strip:
$(STRIP) $(NAME)
Expand Down

0 comments on commit be0588b

Please sign in to comment.