openblt

a hobby OS from the late 90s
git clone http://frotz.net/git/openblt.git
Log | Files | Refs | LICENSE

Makefile (450B)


      1 # $Id: //depot/blt/util/Makefile#3 $
      2 
      3 CC=cc
      4 CFLAGS=-O2 
      5 #-DxBIG_ENDIAN
      6 #NETSTUFF=-lsocket -lnsl
      7 
      8 all: netboot bootmaker dumphex 
      9 
     10 netboot: netboot.o
     11 	$(CC) -o netboot netboot.o $(NETSTUFF)
     12 
     13 bootmaker: bootmaker.o
     14 	$(CC) -o bootmaker bootmaker.o
     15 
     16 dumphex: dumphex.o
     17 	$(CC) -o dumphex dumphex.o
     18 
     19 dumph: dumph.o
     20 	$(CC) -o dumph dumph.o
     21 
     22 bootblock.h: dumph bootsect.bin
     23 	./dumph bootsect.bin > bootblock.h
     24 
     25 clean:
     26 	rm -f netboot bootmaker dumphex *.o *~