source:
trunk/minix/commands/i86/Makefile@
12
      
      | Last change on this file since 12 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 365 bytes | |
| Line | |
|---|---|
| 1 | # Makefile for commands/i86. | 
| 2 | |
| 3 | CFLAGS = -D_MINIX -D_POSIX_SOURCE | 
| 4 | CCLD = $(CC) -i $(CFLAGS) | 
| 5 | MAKE = exec make -$(MAKEFLAGS) | 
| 6 | CC = exec cc | 
| 7 | |
| 8 | all: cc | 
| 9 | |
| 10 | cc: cc.c | 
| 11 | $(CCLD) -o $@ $? | 
| 12 | install -S 6kb $@ | 
| 13 | |
| 14 | install: /usr/bin/cc /usr/bin/m2 /usr/bin/pc | 
| 15 | |
| 16 | /usr/bin/cc: cc | 
| 17 | install -cs -o bin $? $@ | 
| 18 | |
| 19 | /usr/bin/m2 /usr/bin/pc: /usr/bin/cc | 
| 20 | install -l $? $@ | 
| 21 | |
| 22 | clean: | 
| 23 | rm -rf a.out core cc | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    
