From 1c14c3b214f93243dd0b33bef7eea0791f78b3c9 Mon Sep 17 00:00:00 2001 From: diekmann Date: Tue, 2 Mar 2021 09:09:52 +0100 Subject: [PATCH] tune Makefile --- doom/linuxdoom-1.10/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doom/linuxdoom-1.10/Makefile b/doom/linuxdoom-1.10/Makefile index bc31967..85e0f32 100644 --- a/doom/linuxdoom-1.10/Makefile +++ b/doom/linuxdoom-1.10/Makefile @@ -86,20 +86,20 @@ all: $(O)/linuxxdoom clean: rm -f *.o *~ *.flc - rm -f linux/* + rm -f $(O)/* $(O)/linuxxdoom: $(OBJS) $(O)/i_main.o $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(O)/i_main.o \ -o $(O)/linuxxdoom $(LIBS) $(O)/%.o: %.c - mkdir -p linux + mkdir -p $(O) $(CC) $(CFLAGS) -c $< -o $@ run: all - Xephyr :1 -ac -screen 320x200x8 & + Xephyr :1 -screen 320x200x8 -title DooM & sleep 5 # ugly!! waiting for Xephyr to start. - DISPLAY=:1 ./linux/linuxxdoom + DISPLAY=:1 ./$(O)/linuxxdoom ############################################################# #