plum-umd / the-838e-compiler

Compiler for CMSC 838E
2 stars 0 forks source link

Makefile cleanup #42

Closed 8tx7K38ej1aBTKWK closed 3 years ago

8tx7K38ej1aBTKWK commented 3 years ago

I replaced the boilerplate in Makefile with suffix rules. Adding a new object file now only requires adding one line of code

 objs_lib = \
    math.o \
-   list.o
+   list.o \
+   mystdlib.o