first commit of the recode
70% of the code was re-writter from scratch
This commit is contained in:
22
tests/Makefile
Normal file
22
tests/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
SRC = lib_use.c
|
||||
OBJ = $(SRC:.c=.o)
|
||||
NAME = lib_use
|
||||
CFLAGS = -Wall -Wextra -Wpedantic -I../include
|
||||
CLIBS = ../libpasm.a
|
||||
|
||||
all: $(NAME)
|
||||
|
||||
$(NAME): $(OBJ)
|
||||
cd .. && $(MAKE) lib
|
||||
gcc $(SRC) $(CFLAGS) $(CLIBS) -o $(NAME)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ)
|
||||
|
||||
fclean: clean
|
||||
rm -f $(NAME)
|
||||
|
||||
re: fclean
|
||||
re: $(NAME)
|
||||
|
||||
.PHONY : all $(NAME) clean fclean re
|
||||
Reference in New Issue
Block a user