Ajout de nouveaux fichiers de test et suppression de fichiers obsolètes
This commit is contained in:
21
tests/test-16-strange-variables/make/Makefile
Normal file
21
tests/test-16-strange-variables/make/Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
COMPILER = gcc
|
||||
CFLAGS = -Wall \
|
||||
-ansi \
|
||||
-pedantic
|
||||
OUTPUT = program
|
||||
|
||||
OBJS = main.o module.o
|
||||
|
||||
# Règle principale
|
||||
$(OUTPUT): $(OBJS)
|
||||
$(COMPILER) $(CFLAGS) -o $(OUTPUT) $(OBJS)
|
||||
|
||||
main.o: main.c
|
||||
$(COMPILER) $(CFLAGS) -c main.c -o main.o
|
||||
|
||||
module.o: module.c
|
||||
$(COMPILER) $(CFLAGS) -c module.c -o module.o
|
||||
|
||||
clean:
|
||||
rm -f $(OUTPUT) $(OBJS)
|
||||
|
Reference in New Issue
Block a user