1 Debian patch touch this file
-
Include hardening options and change the name of the binary to bindechexascii
- Author
- Marcio de Souza Oliveira <[email protected]>
| 1 | ################################################ |
| 2 | |
| •3 | BIN := bindechexascii |
| 4 | OBJ := bindechexascii.o |
| 5 | SRC := conv.c |
| 6 | |
| 7 | CC := gcc |
| •8 | CFLAGS+ := -g -march=native |
| 9 | LFLAGS := |
| 10 | |
| 11 | ################################################ |
| 12 | |
| 13 | all: $(BIN) |
| 14 | |
| 15 | $(BIN): $(OBJ) |
| •16 | $(CC) $(CPPFLAGS) $(LDFLAGS) $(CFLAGS) $(LFLAGS) $(OBJ) -o $(BIN) |
| 17 | $(OBJ): $(SRC) |
| •18 | $(CC) $(CPPFLAGS) $(LDFLAGS) $(CFLAGS) -c $(SRC) -o $(OBJ) |
| 19 | |
| 20 | clean: |
| 21 | rm -f $(BIN) $(OBJ) |