asm/Makefile
changeset 66 2b4f786d9073
parent 5 d752cbe8208e
child 166 ecd6492274ad
equal deleted inserted replaced
65:76514757b0d6 66:2b4f786d9073
     1 CC=gcc -g -ggdb
     1       CC = gcc -g -ggdb
     2 CFLAGS=-Wall -O2 -Iinclude
     2   CFLAGS = -Wall -O2 -Iinclude
     3 LDFLAGS=
     3  LDFLAGS =
     4 NASM=nasm -f elf -Iinclude/
     4     NASM = nasm -f elf -Iinclude/
     5 TARGET=stackinfo
     5   TARGET = stackinfo
     6 OBJECTS=main.o get_sp.o
     6 OBJECTS  = main.o
       
     7 OBJECTS += get_sp.o
     7 
     8 
     8 .SUFFIXES: .c .asm
     9 .SUFFIXES: .c .asm
     9 
    10 
    10 .c.o:
    11 .c.o:
    11 	@echo Compiling $< ...
    12 	@echo Compiling $< ...
    34 	install $(TARGET) decimal ~/bin
    35 	install $(TARGET) decimal ~/bin
    35 
    36 
    36 uninstall:
    37 uninstall:
    37 	rm -f ~/bin/decimal
    38 	rm -f ~/bin/decimal
    38 	rm -f ~/bin/$(TARGET)
    39 	rm -f ~/bin/$(TARGET)
    39