Skip to content

Commit

Permalink
Changed make files (Please remember to revise makefile and ensure is
Browse files Browse the repository at this point in the history
corrected)
  • Loading branch information
cheng-alvin committed Jun 12, 2024
1 parent cd1f70e commit 85e5988
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ HOME = ..

EXE = # Add tests here

all: libjas.o libjas
all: libjas_debug.o libjas

libjas.o:
$(MAKE) -C ../libjas debug
libjas_debug.o:
$(MAKE) -C ../libjas libjas_debug.o

libjas: CFLAGS = $(CFLAGS_COMMON)
libjas: $(EXE)
test: CFLAGS = $(CFLAGS_COMMON)
test: $(EXE)
@clear
@for exe in $(EXE); do \
$(CC) $$exe $(BUILD)/debug -o $(BUILD)/test/libjas/$${exe%.o}; \
Expand Down

0 comments on commit 85e5988

Please sign in to comment.