Explorar o código

Erase binary files - clean action on Makefile

Cyrille %!s(int64=11) %!d(string=hai) anos
pai
achega
1fad8cf838
Modificáronse 6 ficheiros con 8 adicións e 0 borrados
  1. 2 0
      .gitignore
  2. 3 0
      emit/Makefile
  3. BIN=BIN
      emit/emit
  4. BIN=BIN
      emit/emit.o
  5. BIN=BIN
      emit/emitlib.o
  6. 3 0
      listen/Makefile

+ 2 - 0
.gitignore

@@ -1,3 +1,5 @@
 listen/*.o
 listen/listen
 listen/*.txt
+emit/*.o
+emit/emit

+ 3 - 0
emit/Makefile

@@ -8,3 +8,6 @@ emit.o : emit.c
 
 emitlib.o : emitlib.c emitlib.h
 	gcc -c emitlib.c
+
+clean:
+	rm -f emit *.o

BIN=BIN
emit/emit


BIN=BIN
emit/emit.o


BIN=BIN
emit/emitlib.o


+ 3 - 0
listen/Makefile

@@ -8,3 +8,6 @@ listen.o : listen.c
 
 listenlib.o : listenlib.c listenlib.h
 	gcc -c listenlib.c
+
+clean:
+	rm listen *.o