diff options
author | XANTRONIX Development | 2023-09-13 14:40:48 -0400 |
---|---|---|
committer | XANTRONIX Development | 2023-09-13 14:40:48 -0400 |
commit | b89c79b5a8b2084574f2645d7034ba595b9d5cd0 (patch) | |
tree | 3d792b341ccf98567725e8b12d6e81801b95351e /Makefile | |
parent | 4451e2f2ef709ad4ad0e519a0310cc1e31c0d25a (diff) | |
download | zxdump-b89c79b5a8b2084574f2645d7034ba595b9d5cd0.tar.gz zxdump-b89c79b5a8b2084574f2645d7034ba595b9d5cd0.tar.bz2 zxdump-b89c79b5a8b2084574f2645d7034ba595b9d5cd0.zip |
Refactor stuff into separate files, finally
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
1 files changed, 5 insertions, 20 deletions
@@ -1,23 +1,8 @@ -CC = cc -CFLAGS = -g -Wall -O2 -LDFLAGS = -OBJS = main.o -NAME = zxdump +all: + $(MAKE) -C src all -PREFIX = /usr/local -INSTALL = /usr/bin/install -RM = /bin/rm - -all: $(NAME) - -$(NAME): $(OBJS) - $(CC) $(OBJS) -o $(NAME) $(LDFLAGS) - -$(OBJS): %.o: %.c - $(CC) $(CFLAGS) -c $< - -install: $(NAME) - $(INSTALL) -c -m 0755 $(NAME) $(PREFIX)/bin +install: + $(MAKE) -C src install clean: - $(RM) -f $(NAME) $(OBJS) + $(MAKE) -C src clean |